cod_set_user_godmode

Syntax

native cod_set_user_godmode(id, value, type = ROUND);

Usage

id
Player index
value
True to enable bonus, false to disable
type
Bonus type, valid types are:
CLASS - for class
ITEM - for item
ADDITIONAL - static bonus
ROUND - until round end
DEATH - until death
DAMAGE_GIVEN - until player damage enemy
DAMAGE_TAKEN - until player is hurt

Description

Sets player god mode bonus value.

Return

This function has no return value.